﻿<Application x:Class="TeacherLoad.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:TeacherLoad"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <ResourceDictionary>
            <!--TextBlock-->
            <Style TargetType="TextBlock">
                <Setter Property="FontSize" Value="14"/>
            </Style>
            <!--Button-->
            <Style TargetType="Button">
                <Setter Property="Background" Value="#99e6ff"/>
                <Setter Property="Margin" Value="0 10"/>
                <Setter Property="Height" Value="30"/>
            </Style>
            <!--TextBox-->
            <Style TargetType="TextBox">
                <Setter Property="Background" Value="#e3f3ff"/>
                <Setter Property="FontSize" Value="14"/>
                <Setter Property="Margin" Value="5"/>
                <Style.Triggers>
                    <Trigger Property="IsFocused" Value="True">
                        <Setter Property="Background" Value="LightGreen"/>
                    </Trigger>
                    <Trigger Property="IsReadOnly" Value="True">
                        <Setter Property="Background" Value="Beige"/>
                    </Trigger>
                </Style.Triggers>
            </Style>
            <!--ComboBox-->
            <Style TargetType="ComboBox">
                <Setter Property="FontSize" Value="14"/>
                <Setter Property="Margin" Value="5 0"/>
            </Style>
            <!--GroupBox-->
            <Style TargetType="GroupBox">
                <Setter Property="Margin" Value="5"/>
                <Setter Property="BorderBrush" Value="#200770"/>
            </Style>
            <!--StackPanel-->
            <Style TargetType="StackPanel">
                <Setter Property="Margin" Value="5"/>
            </Style>
            <!--MenuItem-->
            <Style TargetType="MenuItem">
                <Setter Property="Padding" Value="5"/>
            </Style>
            <!--ListBoxItem-->
            <Style TargetType="ListBoxItem">
                <Setter Property="Margin" Value="2"/>
                <Setter Property="Padding" Value="4"/>
                <Style.Triggers>
                    <Trigger Property="IsSelected" Value="True">
                        <Setter Property="Foreground" Value="DarkGreen"/>
                        <Setter Property="FontWeight" Value="Bold"/>
                        <Setter Property="BorderThickness" Value="3"/>
                    </Trigger>
                </Style.Triggers>
            </Style>
            <!--ToolTip-->
            <Style TargetType="ToolTip">
                <Setter Property="FontSize" Value="14"/>
                <Setter Property="ToolTipService.InitialShowDelay" Value="100"/>
                <Setter Property="ToolTipService.BetweenShowDelay" Value="2000"/>
                <Setter Property="HorizontalOffset" Value="30"/>
                <Setter Property="VerticalOffset" Value="20"/>
            </Style>
        </ResourceDictionary>
    </Application.Resources>
</Application>
